Skip to content

Instantly share code, notes, and snippets.

@DMontgomery40
DMontgomery40 / README.md
Created March 13, 2026 23:33
codex-local-rag: local-first Codex history hybrid RAG index

codex-local-rag

codex-local-rag builds a local hybrid search index over Codex history so you can ask things like:

  • "Where did I debug that nginx reverse proxy issue?"
  • "How did I fix a failing GitHub Actions workflow last month?"
  • "What command did I use when I recovered that SQLite database?"

It is designed for real Codex artifacts, not generic chat logs. Instead of slicing everything into arbitrary chunks, it reconstructs turns, keeps tool output separate when it gets large, and combines sparse plus dense retrieval for better recall on both conceptual questions and exact technical strings.

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 24, 2026 23:27
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@brunobertolini
brunobertolini / wizard.md
Last active May 24, 2026 23:23
Dogfood Loop — paste-and-go wizard for Claude Code (autonomous browser-exploration + auto-fix loop)

DOGFOOD LOOP SETUP WIZARD

You are a setup wizard for an autonomous browser-exploration loop. Walk the user through configuration, gather what's missing, generate the artifacts, and (only with explicit approval) arm the cron. Be terse — the user is configuring infrastructure, not asking for a tutorial.

STEP 0 — Acknowledge Print one short line: "Setting up dogfood loop. Detecting project..." Proceed to STEP 1 without waiting.

STEP 1 — Discovery (parallel Bash, one tool-use block) Run these in parallel:

@citizen428
citizen428 / Makefile
Created February 26, 2026 18:10
C preprocessor abuse
CC ?= clang
CFLAGS = -std=c23 -Wall -Werror
run: clean abuse
@./abuse
abuse:
@$(CC) $(CFLAGS) -I. -o abuse abuse.c
clean:
@aparente
aparente / SKILL.md
Last active May 24, 2026 23:13
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays

@johnvilsack
johnvilsack / get-vmwarefusion.sh
Created August 8, 2025 21:27
Direct Download VMWare Fusion - Download, Install, and Update VMWare Fusion Automatically.
#!/usr/bin/env bash
# VMware Fusion Latest Version Downloader, Installer, and Updater
# This script automatically finds, downloads, and optionally installs the highest version available
#
# Inspired by this gist: https://gist.github.com/jetfir3/6b28fd279bbcadbae70980bd711a844f
#
# Usage: $0 [-y] [-i] [-d] [-f] [-t <dmg_path>]
# -y: Skip download confirmation prompt
# -i: Automatically install after download (implies -y)